<extend name="./Public/Template/base.html" />

<block name="style">
<style type="text/css">
.cont table{margin:20px; border:#CCC 1px solid;}
.cont table td{padding:10px 20px; border-bottom:#CCC 1px solid;}
.cut_solid{background-color:#EEE;}
</style>
</block>

<block name="cont">
	<div class="title">英雄列表
        <button class="buttonA">入库</button>
        <button class="buttonA">预览</button>
    </div>
    
    <hr size="1" align="right" class="cut_solid">
    
<form class="form_add">
<table border="0" cellpadding="0" cellspacing="0">
<tr class="cut_solid"><td colspan="5"><label>英雄信息</label></td></tr>
<tr><td><label>英雄名称</label></td><td colspan="4"><input type="text" name="hero_name" class="textA"></td></tr>
<tr><td><label>英雄标题</label></td><td colspan="4"><input type="text" name="hero_title" class="textA"></td></tr>
<tr><td><label>英雄链接</label></td><td colspan="4"><input type="url" name="hero_url" class="textA"></td></tr>

<tr><td><label>技能图标</label></td><td colspan="4"><input type="text" name="skill_img" placeholder="多个链接请用空格分开" class="textA"></td></tr>
    
<tr><td><label>技能名称</label></td><td colspan="4"><input type="text" name="skill_name" placeholder="多个名称请用空格分开" class="textA"></td></tr>
    
<tr class="cut_solid"><td colspan="5"><label>英雄评价</label></td></tr>
<tr><td><label>英雄优势</label></td><td colspan="4"><input type="text" name="hero_advantage" class="textA"></td></tr>
<tr><td><label>英雄劣势</label></td><td colspan="4"><input type="text" name="hero_inferior" class="textA"></td></tr>

<tr class="cut_solid"><td colspan="5"><label>最佳搭档</label></td></tr>
<tr><td><label>英雄名称</label></td><td colspan="4"><input type="text" name="good_hero_name" placeholder="多个英雄请用空格分开" class="textA"></td></tr>
<tr><td><label>英雄图标</label></td><td colspan="4"><input type="text" name="good_hero_img" placeholder="多个链接请用空格分开" class="textA"></td></tr>
<tr><td><label>英雄介绍</label></td><td colspan="4"><input type="text" name="good_hero_desc" placeholder="多个介绍请用空格分开" class="textA"></td></tr>
<tr><td><label>英雄链接</label></td><td colspan="4"><input type="text" name="good_hero_url" placeholder="多个链接请用空格分开" class="textA"></td></tr>

<tr class="cut_solid"><td colspan="5"><label>克制英雄</label></td></tr>
<tr><td><label>英雄名称</label></td><td colspan="4"><input type="text" name="bad_hero_name" placeholder="多个名称请用空格分开" class="textA"></td></tr>
<tr><td><label>英雄图标</label></td><td colspan="4"><input type="text" name="bad_hero_img" placeholder="多个链接请用空格分开" class="textA"></td></tr>
<tr><td><label>英雄介绍</label></td><td colspan="4"><input type="text" name="bad_hero_desc" placeholder="多个介绍请用空格分开" class="textA"></td></tr>
<tr><td><label>英雄链接</label></td><td colspan="4"><input type="text" name="bad_hero_url" placeholder="多个链接请用空格分开" class="textA"></td></tr>

</table></form>
</block>

<block name="script">
<script language="javascript">
function doPreview(){
	var get_data	= $(".form_add").serialize();
	window.open("addHero?ops_type=preview&"+get_data, "_blank");
}

function doInSql(){
	var get_data	= $(".form_add").serialize();
	window.open("addHero?ops_type=save&"+get_data, "_self");
}
</script>
</block>
